package com.ruoyi.docdraw.service;

import java.util.List;
import com.ruoyi.docdraw.domain.SysDocDraw;

/**
 * 文档图纸Service接口
 * 
 * @author lvtian
 * @date 2025-02-26
 */
public interface ISysDocDrawService 
{
    /**
     * 查询文档图纸
     * 
     * @param drawId 文档图纸主键
     * @return 文档图纸
     */
    public SysDocDraw selectSysDocDrawByDrawId(Long drawId);

    /**
     * 查询文档图纸列表
     * 
     * @param sysDocDraw 文档图纸
     * @return 文档图纸集合
     */
    public List<SysDocDraw> selectSysDocDrawList(SysDocDraw sysDocDraw);

    /**
     * 新增文档图纸
     * 
     * @param sysDocDraw 文档图纸
     * @return 结果
     */
    public int insertSysDocDraw(SysDocDraw sysDocDraw);

    /**
     * 修改文档图纸
     * 
     * @param sysDocDraw 文档图纸
     * @return 结果
     */
    public int updateSysDocDraw(SysDocDraw sysDocDraw);

    /**
     * 批量删除文档图纸
     * 
     * @param drawIds 需要删除的文档图纸主键集合
     * @return 结果
     */
    public int deleteSysDocDrawByDrawIds(Long[] drawIds);

    /**
     * 删除文档图纸信息
     * 
     * @param drawId 文档图纸主键
     * @return 结果
     */
    public int deleteSysDocDrawByDrawId(Long drawId);


    int batchInsertSysDocDraw(List<SysDocDraw> drawList);

    int deleteSysDocDrawByDocId(Long docId);



}
